/*
 * Image.h
 *
 *  Created on: Fev 20, 2011
 *      Author: sfournier
 */

#ifndef IMAGE_H_
#define IMAGE_H_

#include "SDL.h"
#include <iostream>
using namespace std;


class Image {
public:
	Image(const char *path);
	~Image();

	SDL_Surface* getImage() { return image; }
	int isLoaded() { return loaded; }

	void load();


private:
	SDL_Surface* image;

	const char *path;
	int loaded;
};

#endif /* IMAGE_H_ */
